﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Husb.Framework.DataAccess
{
    interface IDataAccess<T>
    {
        T Create(object criteria);

        T Fetch(object criteria);

        int Update(object obj);

        int Delete(object criteria);
    }
}
